<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ShippingInfoWidget.setOptionalFields - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.view</a>&nbsp;/&nbsp;<a href="index.html">ShippingInfoWidget</a>&nbsp;/&nbsp;<a href="./set-optional-fields.html">setOptionalFields</a><br/>
<br/>
<h1>setOptionalFields</h1>
<a name="com.stripe.android.view.ShippingInfoWidget$setOptionalFields(kotlin.collections.List((kotlin.String)))"></a>
<code><span class="keyword">fun </span><span class="identifier">setOptionalFields</span><span class="symbol">(</span><span class="identifier" id="com.stripe.android.view.ShippingInfoWidget$setOptionalFields(kotlin.collections.List((kotlin.String)))/optionalAddressFields">optionalAddressFields</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<h3>Parameters</h3>
<p><a name="optionalAddressFields"></a>
<code>optionalAddressFields</code> - address fields that should be optional.</p>
</BODY>
</HTML>
